<!DOCTYPE html>
<html>
<body>
  <script>
    document.addEventListener('overscroll', e => {
      var portal = document.querySelector('portal');
      portal.activate();
    }, {once: true});
  </script>
</body>
</html>
